body {
    font-family: 'Franklin Gothic light', 'Arial Narrow', Arial, sans-serif;
    background-color: #181818;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input[type="text"] {
    padding: 8px;
    width: 200px;
    margin-right: 10px;
}

button {
    padding: 8px 16px;
    cursor: pointer;
}

#treeContainer {
    margin-top: 20px;
    padding: 10px;
    border: 3px solid #3498db;
    border-radius: 8px;
    background-color: #fafafa;
    width: auto;
    height: auto;
    position: relative;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Table for tree structure */
.tree-table {
    border-collapse: collapse;
    text-align: center;
}

/* Table cells for tree */
.tree-cell {
    width: 80px;
    height: 80px;
    border: none;
    min-width: 80px;
    text-align: center;
}

/* Empty cells to maintain symmetry */
.empty-cell {
    border: none;
}

/* Circle node inside table cell */
.tree-node {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3498db;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin: auto;
}